package com.ox.head.okex.common.url;

/**
 * @author even
 * @date 2021/2/3 0003 下午 16:03
 * @describe
 */
public interface OkSpotCommons {
    /**
     *获取币币账户资产列表
     */
    String ACCOUNTS="/api/spot/v3/accounts/";
    /**
     *单一币种账户信息
     */
    String ACCOUNTS_COIN="/api/spot/v3/accounts/{currency}";

    /**
     *账单总账
     */
    String ACCOUNTS_LEDGER="/api/spot/v3/accounts/{currency}/ledger";

    /**
     * 下单
     */
    String ORDERS="/api/spot/v3/accounts/orders";
    /**
     * 批量下单
     */
    String BATCH_ORDERS="/api/spot/v3/batch_orders";
    /**
     *撤销指定订单
     */
    String CANCEL_ORDERS="/api/spot/v3/cancel_orders/{id}";
    /**
     *批量撤销订单
     */
    String CANCEL_BATCH_ORDERS="/api/spot/v3/cancel_batch_orders";
    /**
     *修改订单
     */
    String AMEND_ORDER="/api/spot/v3/amend_order/<instrument_id>";
    /**
     *批量修改订单
     */
    String AMEND_BATCH_ORDERS="/api/spot/v3/amend_batch_orders";
    /**
     *获取订单列表
     */
    String ORDER_LIST="/api/spot/v3/orders";
    /**
     *获取所有未成交订单
     */
    String ORDERS_PENDING="/api/spot/v3/orders_pending";
    /**
     *获取订单信息
     */
    String ORDER_DETAIL="/api/spot/v3/orders/{orderId}";
    /**
     *获取成交明细
     */
    String FILLS="/api/spot/v3/fills?instrument_id={instrumentId}&limit={limit}";
    /**
     *委托策略下单
     */
    String ORDER_ALGO=" /api/spot/v3/order_algo";
    /**
     *委托策略撤单
     */
    String CANCEL_BATCH_ALGO="/api/spot/v3/cancel_batch_algos";
    /**
     *获取当前账户费率
     */
    String TRADE_FEE="/api/spot/v3/trade_fee";
    /**
     *获取委托单列表
     */
    String ALGO="/api/spot/v3/algo";
    /**
     *获取币对信息
     */
    String INSTRUMENTS="/api/spot/v3/instruments";
    /**
     *获取深度数据
     */
    String INSTRUMENT_BOOK="/api/spot/v3/instruments/{instrumentId}/book";
    /**
     *获取全部ticker信息
     */
    String INSTRUMENT_TICKER="/api/spot/v3/instruments/ticker";
    /**
     *
     * 获取某个ticker信息
     */
    String INSTRUMENT_ID_TICKER="/api/spot/v3/instruments/{instrumentId}/ticker";
    /**
     *获取成交数据
     */
    String TRADES="/api/spot/v3/instruments/{instrumentId}/trades";
    /**
     *获取K线数据
     */
    String CANDLES="/api/spot/v3/instruments/{instrumentId}/candles";
    /**
     *公共-获取历史K线数据
     */
    String HISTORY_CANDLES="/api/spot/v3/instruments/{instrumentId}/history/candles";
















}
